<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; 
	?>/css/screen.css"
	media="screen, projection" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; 
	?>/css/print.css"
	media="print" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; 
	?>/css/main.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl; 
	?>/css/form.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl
	 ?>/css/mcr.css" />
	 <!--
	 <link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->request->baseUrl
	 ?>/css/footer.css" /> -->
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
<![endif]-->
</head>
<body class="<?php echo Yii::app()->params['bodyClass']; ?>">
<div class="shell">
<div class="container" id="page">

<div id="header">
<div id="logo"><?php echo 
CHtml::link(
CHtml::image(Yii::app()->baseUrl.'/images/mcr_hotshots_logo_2011.png',CHtml::encode(Yii::app()->name),array('style'=>'margin-top:20px')),
array('/site/index')
);

?></div>
<div style="float:right;margin-top: 3px;">
<?php 
if(rand()&1){
echo "<script language=\"javascript\" src=\"http://www.melbournecoffeereview.com/wp-content/plugins/oiopub-direct/js.php?type=banner&zone=2\"></script>";
		$params=array('fx'=>'fade',
			   'speed'=>   1400, 
			    'timeout'=> 10000);
		$options=CJavaScript::encode($params);
		$script="$('#oio-banner-2').cycle({$options});$('#oio-banner-2').css('width','728');";
		Yii::app()->clientScript->registerScript('oio-banner-2', $script );
}else{
?>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8178908913858419";
/* MCR Leaderboard */
google_ad_slot = "2910501650";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php  } ?>
</div>
</div>
<!-- header -->

<div id="mainmenu"><?php

Yii::app()->menuManager->mainMenu();

?></div>
<!-- mainmenu -->
<div class="clear"></div>
<?php
	$this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->breadcrumbs,
	));
?><!-- breadcrumbs --> <?php echo $content; ?></div>
<!-- page -->
<div id="footer">Copyright &copy; Global Review Services Pty Ltd <?php echo date('Y'); ?>.
 All rights Reserved.
<?php //echo Yii::powered(); ?>
</div>
<!-- footer -->
<div id="footermenu">
<div class="footermenu_shell">
<?php 
//Yii::app()->menuManager->footerMenu();
require(dirname(dirname(Yii::app()->getBasePath())).DIRECTORY_SEPARATOR.'floating_menu'.DIRECTORY_SEPARATOR.'menu.php')
?>
</div>
</div>
</div>
</body>
</html>
